package top.whysu.edevice.dto.ezviz.token;

import java.math.BigDecimal;

/**
 * Token包含账号等信息
 */
public class TokenWithAccountDTO extends TokenDTO {
    /**
     * 账号id(对应e_system_account的id)
     */
    private BigDecimal accountId;
    /**
     * 账号
     */
    private String username;
    /**
     * 萤石的账号id
     */
    private String ezvizAccountId;

    /**
     * 子账号accessToken
     */
    private String childAccessToken;

    /**
     * 子账号token过期时间
     */
    private Long childExpireTime;

    public BigDecimal getAccountId() {
        return accountId;
    }

    public void setAccountId(BigDecimal accountId) {
        this.accountId = accountId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEzvizAccountId() {
        return ezvizAccountId;
    }

    public void setEzvizAccountId(String ezvizAccountId) {
        this.ezvizAccountId = ezvizAccountId;
    }

    public String getChildAccessToken() {
        return childAccessToken;
    }

    public void setChildAccessToken(String childAccessToken) {
        this.childAccessToken = childAccessToken;
    }

    public Long getChildExpireTime() {
        return childExpireTime;
    }

    public void setChildExpireTime(Long childExpireTime) {
        this.childExpireTime = childExpireTime;
    }
}
